package cn.bdqn.service;

import cn.bdqn.bean.Topic;

import java.util.List;
import java.util.Map;

public interface TopicService {
    public List<Topic> getAll();
    public int del(Integer id);
    public int updTopic(Topic topic);
    public int add(Topic topic);
    public Topic getOne(Integer id);
    public Map<String,Object> getPage(Integer pageNo);
}
